package com.dq.Week1.day02;

import java.util.Scanner;

public class RunDemo {
    public static void main(String[] args) {
        String sex;
        double seconds;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的跑步成绩");
        seconds = scanner.nextDouble();
        if(seconds<=15)
        {
            System.out.println("请输入你的性别：");
            sex = scanner.next();
            if(sex.equals("女"))
            {
                System.out.println("进入女子决赛组");
            }else if(sex.equals("男"))
            {
                System.out.println("进入男子决赛组");
            }else{
                System.out.println("？？？你哪儿来的");
            }
        }else{
            System.out.println("哈哈哈，what can I say,蛇走");
        }


    }
}
